package Eyjafjalla.action;

import com.megacrit.cardcrawl.actions.AbstractGameAction;
import com.megacrit.cardcrawl.cards.AbstractCard;

public class UpgradePreviewCardAction extends AbstractGameAction {
    public UpgradePreviewCardAction(AbstractCard card){
        this.c = card;
    }

    @Override
    public void update() {
        if(c!=null&&c.cardsToPreview!=null){
            c.cardsToPreview.upgrade();
        }

        this.isDone = true;
    }

    AbstractCard c;
}
